import request from "@/utils/request";

// 获取提交的认证材料信息
export const getCompetition = (data) => {
    return request.get("/certificateAuthority/competitionList", { params: data })
}

// 删除比赛认证信息
export const deleteCompetition = (id) => {
    return request.delete(`/certificateAuthority/deleteCompetition?id=${id}`);
}

// 获取可选的比赛列表
export const getCompetitionList = (data) => {
    return request.get("/certificateAuthority/competitions", { params: data })
}

// 根据选择的比赛获取对应的获奖等级列表
export const getAwardLevels = (data) => {
    return request.get("/certificateAuthority/getAwardLevels", { params: data })
}
